//
//  UIButton+GYButton.h
//  Visitor
//
//  Created by x on 2017/9/12.
//  Copyright © 2017年 HLB. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (GYButton)

/** 快速创建一个登入注册按钮 */
+ (UIButton *)buttonWith:(NSString *)title titleColor:(UIColor *)titleColor borderColor:(UIColor *)borderColor backgroundColor:(UIColor *)bgColor tag:(NSInteger)tag target:(id)target action:(SEL)action;

/**
 创建一个带文字的按钮

 @param title <#title description#>
 @param titleColor <#titleColor description#>
 @param tag <#tag description#>
 @param target <#target description#>
 @param action <#action description#>
 @return <#return value description#>
 */
+ (UIButton *)buttonWithTitle:(NSString *)title titleColor:(UIColor *)titleColor tag:(NSInteger)tag target:(id)target action:(SEL)action;
@end
